@import url('./react.css');

body {
  background-color: #f4f4f4;
  height: 100%;

  * {
    padding: 0;
    margin: 0;
  }
}

.header {
  display: flex;
  flex-direction: column;

  .userInfo {
    line-height: 30px;
    font-size: 12px;
    justify-content: space-around;
    display: flex;
    background-color: #e3e4e5;
    width: 100%;
    height: 30px;
    // overflow: hidden;
    color: #999;

    .location {}

    .menu {
      .menuWrapper {
        display: flex;
        list-style: none;

        .spacer {
          // margin-top: 9px;
          height: 12px;
          width: 1px;
          background-color: yellowgreen;
          margin: 9px 8px 0 8px;
        }

        li {
          padding: 0 4px;
        }

        a:hover {
          color: red;
          cursor: pointer;
        }

        #goLogin {

          a {}
        }

        #signUp {
          margin-left: 6px;

          a {
            color: red;
          }
        }

        #myOrder {

          a {}
        }

        #myJD:hover {
          background-color: #fff;
          border-left: 1px solid #c3c3c3;
          border-right:1px solid #c3c3c3;
          border-top:1px solid #c3c3c3;

        
        }
        #myJD {
          position: relative;
          border: 1px solid #e3e4e5;
          border-bottom: none;
          a {}
          #myJDcontent {
            display: none;
            padding-left: 20px;
            padding-top: 10px;
            margin-left: -1px;
            margin-top: 1px;
            border-left: 1px solid #e3e4e5;
            border-right:1px solid #e3e4e5;
            border-bottom:1px solid #e3e4e5;
            position: absolute;
            top: 30px;
            left: 0px;
            width: 240px;
            height: 150px;
            background-color: white;
            // z-index: 3;
            div {
              float: left;
              width: 40%;
            }
          }
        }

      

        #jdVip {

          a {}
        }

        #qiye {

          a {}
        }

        #userServeice {

          a {}
        }

        #internetNav {

          a {}
        }

        #phoneJD {

          a {}
        }
      }
    }
  }

  .userNav {
    width: 100%;
    height: 140px;
    background-color: white;
    line-height: 140px;
    display: flex;
    .navWrapper {
      width: 1190px;
      margin: 0 auto;
      img {
        vertical-align: middle;
      }
      .middle {

      }
    }

  
  }

  .mainBody {

    display: flex;
    margin: 0 auto;
    width: 1190px;
    height: 480px;
    margin-top: 20px;

    .left {
      margin-right: 20px;
      flex: 1;
      box-sizing: border-box;
      // padding: 20px 0 0 20px;
      font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
      color: #636363;
      background-color: white;
      // width: 190px;
      height: 480px;

      a:hover {
        color: red;
      }

      li:hover {
        background-color: #c3c3c3;
      }

      ul {
        padding-top: 20px;
      }

      li {
        padding-left: 20px;
        height: 25px;
        line-height: 25px;
      }
    }

    .middle {
      flex: 3;
      background-color: red;
    }

    .rightImg {
      flex: 1;
      background-color: yellowgreen;
      margin-right: 20px;
    }

    .rightNav {
      flex: 1;
      background-color: blue;
    }
  }
}

footer {}